import time

import redis

from crawler_core.utils.sync.redis_sync import RedisSync
from lib.sys.redis_factory import RedisFactory


def ss(**kwargs):
    print(kwargs)


def sst():
    ss(dd=2, ll=3)
    kwargs = {"arg3": 3, "arg2": "two"}
    ss(**kwargs)


if __name__ == '__main__':
    host = "127.0.0.1"
    RedisFactory.init_redis(host)
    task_id = "51job#@#JCL0000002#@#java"
    RedisSync().refreshEventSearchContextCardNumber(task_id, 10)
